home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Games Machine 83
/
XENIATGM83.iso
/
Team Alligator
/
talligsld.exe
/
TeamAlligator
/
data
/
eng
/
weaponry.dat
< prev
next >
Wrap
Text File
|
1999-11-22
|
4KB
|
64 lines
SIMISA@@@@@@@@@@JINX0s0t0_____
Skip
(
Weaponry file : This file contains a description for each weapon type to be used in the game
Format :
Must have
Number_of_weapon_types which refers to the number of weapon_types that will follow
Then for each weapon type
Weapon_Data ( Name (name_string) TA_Basic_Weapon_Type (BALLISTIC/ROCKET/GUIDED) A series of Use_against(Object_type) and Dont_use_against(Object_type)
and to end End_weapon_description() )
The name_string is just the name of the weapon of the weapon which will be used as a description for the weapon in
wattrib.
The Basic Weapon Type is the method used to fire the weapon (ie bullet, rocket, guided_missile)
The Use_against and Dont_use_against form the description of the things that the weapon can fire at for example
TA_Number_of_weapon_types(3)
TA_Weapon_Data ( TA_Name (SMA) TA_Basic_Weapon_Type (BALLISTIC) TA_Use_against (FLYING_AIRCRAFT) TA_Use_against(ARTILLERY) TA_Use_against(INFANTRY)
TA_End_weapon_description() )
TA_Weapon_Data ( TA_Name (CNM) TA_Basic_Weapon_Type (BALLISTIC) TA_Use_against (BASE_TYPE) TA_Dont_use_against(TANK)
TA_End_weapon_description() )
TA_Weapon_Data ( TA_Name (GUN) TA_Basic_Weapon_Type (BALLISTIC) TA_Use_against (BASE_TYPE) TA_Dont_use_against(AIRCRAFT)
TA_End_weapon_description() )
Would create
weapon_type SMA that will be fired against AIRCRAFT, ARTILLERY and INFANTRY
weapon_type CNM that will be fired against anything other than TANKS
weapon_type GUN that will be fired against anything other than AIRCRAFT
NB. The BASE_TYPE is the parent of all types - so if you set this you will set all the categories.
By default the weapons are set to shoot against NOTHING AT ALL !!!!!!
Special object classes:
BASE_TYPE = All categories
FLYING_AIRCRAFT = AIRCRAFT and HELICOPTER class objects in flight
SUPPRESS_HELICOPTER = Engage HELICOPTERS by firing at the ground beneath them
)
TA_Number_of_weapon_types(11)
TA_Weapon_Data ( TA_Name (SMA) TA_Basic_Weapon_Type (BALLISTIC) TA_Use_against(AIRCRAFT) TA_Use_against(ARTILLERY) TA_Use_against(INFANTRY)
TA_End_weapon_description() )
TA_Weapon_Data ( TA_Name (CNM) TA_Basic_Weapon_Type (BALLISTIC) TA_Use_against(BASE_TYPE)
TA_End_weapon_description() )
TA_Weapon_Data ( TA_Name (CAA) TA_Basic_Weapon_Type (BALLISTIC) TA_Use_against(BASE_TYPE) TA_Dont_use_against(TANK)
TA_End_weapon_description() )
TA_Weapon_Data ( TA_Name (GUN) TA_Basic_Weapon_Type (BALLISTIC) TA_Use_against(BASE_TYPE) TA_Use_against(SUPPRESS_HELICOPTER) TA_Dont_use_against(FLYING_AIRCRAFT)
TA_End_weapon_description() )
TA_Weapon_Data ( TA_Name (RKA) TA_Basic_Weapon_Type (ROCKET) TA_Use_against(BASE_TYPE) TA_Dont_use_against(FLYING_AIRCRAFT)
TA_End_weapon_description() )
TA_Weapon_Data ( TA_Name (ATM) TA_Basic_Weapon_Type (GUIDED) TA_Use_against(BASE_TYPE) TA_Dont_use_against(INFANTRY) TA_Dont_use_against(AIRCRAFT)
TA_End_weapon_description() )
TA_Weapon_Data ( TA_Name (SAM) TA_Basic_Weapon_Type (GUIDED) TA_Use_against(FLYING_AIRCRAFT)
TA_End_weapon_description() )
TA_Weapon_Data ( TA_Name (AAM) TA_Basic_Weapon_Type (GUIDED) TA_Use_against(FLYING_AIRCRAFT)
TA_End_weapon_description() )
TA_Weapon_Data ( TA_Name (ASM) TA_Basic_Weapon_Type (GUIDED) TA_Use_against(BASE_TYPE) TA_Dont_use_against(INFANTRY) TA_Dont_use_against(FLYING_AIRCRAFT)
TA_End_weapon_description() )
TA_Weapon_Data ( TA_Name (CRU) TA_Basic_Weapon_Type (GUIDED) TA_Use_against(SEA_UNIT)
TA_End_weapon_description() )
TA_Weapon_Data ( TA_Name (BMB) TA_Basic_Weapon_Type (BALLISTIC) TA_Use_against(BASE_TYPE) TA_Dont_use_against(FLYING_AIRCRAFT)
TA_End_weapon_description() )